home *** CD-ROM | disk | FTP | other *** search
- if(this.hitTest(_root.s.pohyb.s1.sf1))
- {
- _root.s.pohyb.s1.SF1.gotoAndPlay("explode");
- gotoAndPlay(4);
- }
- if(this.hitTest(_root.s.pohyb.s1.sf2))
- {
- _root.s.pohyb.s1.SF2.gotoAndPlay("explode");
- gotoAndPlay(4);
- }
- if(this.hitTest(_root.s.pohyb.s1.sf3))
- {
- _root.s.pohyb.s1.SF3.gotoAndPlay("explode");
- gotoAndPlay(4);
- }
- if(this.hitTest(_root.s.pohyb.s2.sf1))
- {
- _root.s.pohyb.s2.SF1.gotoAndPlay("explode");
- gotoAndPlay(4);
- }
- if(this.hitTest(_root.s.pohyb.s2.sf2))
- {
- _root.s.pohyb.s2.SF2.gotoAndPlay("explode");
- gotoAndPlay(4);
- }
- if(this.hitTest(_root.s.pohyb.s2.sf3))
- {
- _root.s.pohyb.s2.SF3.gotoAndPlay("explode");
- gotoAndPlay(4);
- }
- if(this.hitTest(_root.s.pohyb.s3.sf1))
- {
- _root.s.pohyb.s3.SF1.gotoAndPlay("explode");
- gotoAndPlay(4);
- }
- if(this.hitTest(_root.s.pohyb.s3.sf2))
- {
- _root.s.pohyb.s3.SF2.gotoAndPlay("explode");
- gotoAndPlay(4);
- }
- if(this.hitTest(_root.s.pohyb.s3.sf3))
- {
- _root.s.pohyb.s3.SF3.gotoAndPlay("explode");
- gotoAndPlay(4);
- }
- hit = false;
- if(this.hitTest(_root.s.pohyb.laser1.n1._x,_root.s.pohyb.laser1.n1._y,true))
- {
- hit = true;
- _root.s.pohyb.laser1.sNum -= 1;
- _root.s.pohyb.laser1.n1.num = 0;
- _root.s.pohyb.laser1.n1._x = -500;
- }
- if(this.hitTest(_root.s.pohyb.laser1.n2._x,_root.s.pohyb.laser1.n2._y,true))
- {
- hit = true;
- _root.s.pohyb.laser1.sNum -= 1;
- _root.s.pohyb.laser1.n2.num = 0;
- _root.s.pohyb.laser1.n2._x = -500;
- }
- if(this.hitTest(_root.s.pohyb.laser1.n3._x,_root.s.pohyb.laser1.n3._y,true))
- {
- hit = true;
- _root.s.pohyb.laser1.sNum -= 1;
- _root.s.pohyb.laser1.n3.num = 0;
- _root.s.pohyb.laser1.n3._x = -500;
- }
- if(this.hitTest(_root.s.pohyb.laser1.n4._x,_root.s.pohyb.laser1.n4._y,true))
- {
- hit = true;
- _root.s.pohyb.laser1.sNum -= 1;
- _root.s.pohyb.laser1.n4.num = 0;
- _root.s.pohyb.laser1.n4._x = -500;
- }
- if(this.hitTest(_root.s.pohyb.laser1.n5._x,_root.s.pohyb.laser1.n5._y,true))
- {
- hit = true;
- _root.s.pohyb.laser1.sNum -= 1;
- _root.s.pohyb.laser1.n5.num = 0;
- _root.s.pohyb.laser1.n5._x = -500;
- }
- if(this.hitTest(_root.s.pohyb.laser3.n1._x,_root.s.pohyb.laser3.n1._y,true))
- {
- hit = true;
- _root.s.pohyb.laser3.sNum -= 1;
- _root.s.pohyb.laser3.n1.num = 0;
- _root.s.pohyb.laser3.n1._x = -500;
- }
- if(this.hitTest(_root.s.pohyb.laser3.n2._x,_root.s.pohyb.laser3.n2._y,true))
- {
- hit = true;
- _root.s.pohyb.laser3.sNum -= 1;
- _root.s.pohyb.laser3.n2.num = 0;
- _root.s.pohyb.laser3.n2._x = -500;
- }
- if(this.hitTest(_root.s.pohyb.laser3.n3._x,_root.s.pohyb.laser3.n3._y,true))
- {
- hit = true;
- _root.s.pohyb.laser3.sNum -= 1;
- _root.s.pohyb.laser3.n3.num = 0;
- _root.s.pohyb.laser3.n3._x = -500;
- }
- if(this.hitTest(_root.s.pohyb.laser3.n4._x,_root.s.pohyb.laser3.n4._y,true))
- {
- hit = true;
- _root.s.pohyb.laser3.sNum -= 1;
- _root.s.pohyb.laser3.n4.num = 0;
- _root.s.pohyb.laser3.n4._x = -500;
- }
- if(this.hitTest(_root.s.pohyb.laser3.n5._x,_root.s.pohyb.laser3.n5._y,true))
- {
- hit = true;
- _root.s.pohyb.laser3.sNum -= 1;
- _root.s.pohyb.laser3.n5.num = 0;
- _root.s.pohyb.laser3.n5._x = -500;
- }
- if(hit)
- {
- gotoAndPlay(4);
- }
-